﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CadastroPessoa.ascx.vb"
    Inherits="UserControls_CadastroPessoa" EnableViewState="true" %>
<table width="100%>
    <tr>
        <td>
            Nome
        </td>
        <td>
            <asp:TextBox ID="txtNome" runat="server"></asp:TextBox>
        </td>
    </tr>
       <tr>
        <td>
            CTPS
        </td>
        <td>
            <asp:TextBox ID="txtCTPS" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            CPF
        </td>
        <td>
            <asp:TextBox ID="txtCPF" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            RG
        </td>
        <td>
            <asp:TextBox ID="txtRG" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Endereco
        </td>
        <td>
            <asp:TextBox ID="txtEndereco" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Data Nascimento
        </td>
        <td>
            <asp:TextBox ID="txtDataNascimento" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2" style="padding: 40px;">
            <table border="1" title="Contatos">
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlTipoTelefone" runat="server">
                            <asp:ListItem Text="Celular" Value="3" />
                            <asp:ListItem Text="Residencia" Value="1" />
                            <asp:ListItem Text="Trabalho" Value="2" />
                            <asp:ListItem Text="Desconhecido" Value="0" />
                        </asp:DropDownList>
                        <td class="style2">
                            DDD
                        </td>
                        <td>
                            <asp:TextBox ID="txtDDD" runat="server" Width="32px" />
                        </td>
                        <td>
                            Numero
                        </td>
                        <td>
                            <asp:TextBox ID="txtTelefone" runat="server"></asp:TextBox>
                            <asp:Button ID="btnTelefone" runat="server" Text="Adicionar" />
                            <asp:Button ID="btnLimparTelefone" runat="server" Text="Limpar" Height="26px" />
                        </td>
                </tr>
                <tr>
                    <td colspan="5" align="center">
                        <asp:GridView ID="gdTelefone" AutoGenerateColumns="False" runat="server">
                            <Columns>
                                <asp:TemplateField HeaderText="Tipo">
                                    <ItemTemplate>
                                        <asp:Literal ID="litTipo" runat="server"></asp:Literal>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Numero">
                                    <ItemTemplate>
                                        <asp:Literal ID="litNumero" runat="server"></asp:Literal>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                        Email(s)
                    </td>
                    <td class="style1" colspan="4">
                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                        <asp:Button ID="btnEmail" runat="server" Text="Adicionar" />
                        <asp:Button ID="btnLimparEmail" runat="server" Text="Limpar" />
                    </td>
                </tr>
                <tr>
                    <td colspan="5" align="center">
                        <asp:GridView ID="gdEmail" runat="server">
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="2" align="center">
            <asp:Button ID="btnSalvar" runat="server" Text="Salvar" />
            <%--<asp:Button ID="btnVoltar" runat="server" Text="Voltar" />--%>
        </td>
    </tr>
</table>
